package com.mali.gateway.exception;

import cn.hutool.http.HttpStatus;
import lombok.Getter;

@Getter
public class UnAuthException extends CommonException {
    public UnAuthException(String message) {
        super(HttpStatus.HTTP_UNAUTHORIZED, message);
    }

    public UnAuthException(String message, Throwable cause) {
        super(HttpStatus.HTTP_UNAUTHORIZED, message, cause);
    }

    public UnAuthException(Throwable cause) {
        super(HttpStatus.HTTP_UNAUTHORIZED, cause);
    }
}
